package com.crack.nga2.entity;

import java.util.List;

/**
 * Created by Administrator on 2015/12/28.
 */
public class CustomLevel {
    private String custom_level;
    private String name;
    public List<LevelSection> sections;

    public String getCustom_level() {
        return custom_level;
    }

    public void setCustom_level(String custom_level) {
        this.custom_level = custom_level;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    //自定义声望区间
    public static class LevelSection implements Comparable<LevelSection> {
        //区间临界值
        public int r;
        //对应的声望名称
        public String n;

        @Override
        public int compareTo(LevelSection another) {
            return r - another.r;
        }
    }
}
